$(document).ready(function()
{
  
  /*** require bonusquery by me ***/
  //variable to save default message and state of textfield
  var searchClickable = new clickable();
  //On focus event
  $('#search_keywords').focus(function(){removeDefaultText(this, searchClickable);});
  
  //On blur event
  $('#search_keywords').blur(function(){recoverDefaultText(this, searchClickable);});
  
  //On key up event
  $('#search_keywords').keyup(function(key)
  {
    if (this.value.length >= 3 || this.value == '')
    {
      $('#search-loader').show();
      $('#jobs').load(
        $(this).parents('form').attr('action'),
        { query: this.value + '*' },
        function() { $('#search-loader').hide(); }
      );
	  return false;
    }
  });
});